package com.yunxi.sat.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.core.web.LoginInfo;
import com.yunxi.sat.pojo.SatTargetVO;
import java.lang.reflect.InvocationTargetException;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 
 * @since 2019-07-24
 */
public interface SatTargetDubboService {

    SatTargetVO getById(String id) throws InvocationTargetException, IllegalAccessException;

    void saveOrUpdate(SatTargetVO satTargetVO,LoginInfo loginInfo) throws InvocationTargetException, IllegalAccessException;

    void removeById(String id);

    PageInfo<SatTargetVO> findPageByVO(SatTargetVO satTargetVO, Integer pageNum, Integer pageSize) throws InvocationTargetException, IllegalAccessException;

    PageInfo<SatTargetVO> factoryPage(SatTargetVO satTargetVO, Integer pageNum, Integer pageSize) throws Exception;

    void removeByListVo(List<SatTargetVO> satTargetVOList) throws IllegalAccessException, InvocationTargetException, InstantiationException;

    List listByVo(SatTargetVO satTargetVO);

    List listByPartner(SatTargetVO satTargetVO, LoginInfo loginInfo);

    void saveByPartner(List<SatTargetVO> satTargetVOList,LoginInfo loginInfo);

    void newTarget(List<SatTargetVO> list)throws Exception;
}
